package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.SetmealCheckgroup;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TSetmealMapper {
    void add(Setmeal setmeal);

    void batchInsert(List<SetmealCheckgroup> list);

    Page<Setmeal> selectByCon(@Param("queryString") String queryString);

    List<Setmeal> findeAll();

    Setmeal findById(int id);
    public List<Map<String, Object>> findSetmealCount();

}
